package de.koller.zero.view.command;

import de.koller.zero.arch.CTTZNode;
import de.koller.zero.arch.ICommand;

public class NotifyChanged implements ICommand {
	
	private boolean used = true;
	
	@Override
	public void handleCommand( CTTZNode node ) {
		node.root.gui.updateNode();
		used = true;
	}
	
	public boolean reuse() {
		if( !used )
			return false;
		
		used = false;
		return true;
	}
	
}
